Skip to content

Feature: (Ping - Host up/down) Notifications#3471

Merged
mergify[bot] merged 9 commits into
mainfrom
feature/notifications-ping
Jun 6, 2026
Merged

Feature: (Ping - Host up/down) Notifications#3471
mergify[bot] merged 9 commits into
mainfrom
feature/notifications-ping

Conversation

@BornToBeRoot

@BornToBeRoot BornToBeRoot commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Changes proposed in this pull request

  • Notifications Manager added
  • Ping host up/down notification added

Related issue(s)

Copilot generated summary

Provide a Copilot generated summary of the changes in this pull request.

Copilot summary

This pull request introduces a new, reusable notification popup system for the application, allowing for stackable, customizable notifications (such as status change alerts) in the bottom-right corner of the screen. It adds both the UI and logic for these notifications, provides new settings for notification behavior, and localizes the relevant strings. The most important changes are:

Notification Popup System:

  • Added a new NotificationManager class that manages the display and stacking of notification popups, including sound throttling to prevent audio spam from bursts of status changes. (Source/NETworkManager/NotificationManager.cs)
  • Introduced a new NotificationWindow WPF window, with customizable icon, color, title, message, and auto-close timer, including logic for positioning, stacking, and user interaction (click to open main window, close button, etc.). (Source/NETworkManager/NotificationWindow.xaml, Source/NETworkManager/NotificationWindow.xaml.cs) [1] [2]

Settings and Configuration:

  • Added new global static configuration options for notification behavior, such as default thresholds, popup visibility, sound, and close time. (Source/NETworkManager.Settings/GlobalStaticConfiguration.cs) [1] [2]
  • Extended the SettingsInfo class with properties for user-configurable notification settings, supporting property change notifications for UI binding. (Source/NETworkManager.Settings/SettingsInfo.cs)

Localization:

  • Added localized string resources and accessors for all notification-related UI and settings, ensuring proper internationalization. (Source/NETworkManager.Localization/Resources/Strings.resx, Source/NETworkManager.Localization/Resources/Strings.Designer.cs) [1] [2]

To-Do

Contributing

By submitting this pull request, I confirm the following:

Copilot AI review requested due to automatic review settings June 6, 2026 22:20
@github-actions github-actions Bot added this to the next-release milestone Jun 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces user-configurable status change notifications for Ping Monitor (stackable popup + optional throttled system sound) and includes a couple of related UI/UX fixes (Ping Monitor “Status change” time formatting; Status Window close-timer behavior).

Changes:

  • Added a new notification system (popup window + manager) and wired Ping Monitor status transitions to trigger popups/sounds with configurable thresholds.
  • Extended Ping Monitor settings + persisted settings defaults for notification behavior (popup, sound, thresholds, duration).
  • Fixed Ping Monitor “Status change” display formatting and corrected Status Window auto-close timer behavior.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
Website/docs/changelog/next-release.md Documents the new Ping Monitor notifications feature and related fixes in the next release notes.
Website/docs/application/ping-monitor.md Adds user documentation for Ping Monitor notifications and their settings.
Source/NETworkManager/Views/PingMonitorView.xaml Fixes “Status change” display to show time-of-day as HH:mm:ss.
Source/NETworkManager/Views/PingMonitorSettingsView.xaml Adds UI controls for notification popup/sound, thresholds, and duration.
Source/NETworkManager/ViewModels/PingMonitorViewModel.cs Implements thresholded status-change detection and triggers notification popup/sound.
Source/NETworkManager/ViewModels/PingMonitorSettingsViewModel.cs Exposes new notification-related settings for binding and persistence.
Source/NETworkManager/StatusWindow.xaml.cs Fixes enableCloseTimer handling so manually opened Status Window doesn’t auto-close.
Source/NETworkManager/NotificationWindow.xaml.cs Implements the stackable notification popup window behavior (timer/progress/interaction).
Source/NETworkManager/NotificationWindow.xaml Defines the notification popup UI (icon, title/time, message, close button, progress bar).
Source/NETworkManager/NotificationManager.cs Adds a manager for stacking popups and throttling notification sounds.
Source/NETworkManager.Settings/SettingsInfo.cs Adds persisted settings properties for Ping Monitor notifications.
Source/NETworkManager.Settings/GlobalStaticConfiguration.cs Adds defaults for Ping Monitor notification settings and sound throttle interval.
Source/NETworkManager.Localization/Resources/Strings.resx Adds new localized strings for notification settings UI and messages.
Source/NETworkManager.Localization/Resources/Strings.Designer.cs Updates generated strongly-typed accessors for new localization keys.
Files not reviewed (1)
  • Source/NETworkManager.Localization/Resources/Strings.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Website/docs/changelog/next-release.md Outdated
Comment thread Website/docs/changelog/next-release.md Outdated
Comment thread Website/docs/changelog/next-release.md Outdated
Comment thread Website/docs/application/ping-monitor.md Outdated
Comment thread Website/docs/application/ping-monitor.md Outdated
Comment thread Source/NETworkManager.Localization/Resources/Strings.resx Outdated
Comment thread Source/NETworkManager.Localization/Resources/Strings.resx Outdated
BornToBeRoot and others added 7 commits June 7, 2026 00:25
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@BornToBeRoot BornToBeRoot changed the title Featur: Notifications Feature: (Ping - Host up/down) Notifications Jun 6, 2026
@mergify mergify Bot merged commit ef42fa9 into main Jun 6, 2026
5 checks passed
@mergify mergify Bot deleted the feature/notifications-ping branch June 6, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Popup and Email notifications Notifications

2 participants